const proxy = require('http-proxy-middleware')

module.exports = function(app) {
  app.use(
    proxy('/api',{
      target: 'http://82.157.94.91:8000',
      changeOrigin: true,
      pathRewrite:{'^/api':''}
    }),
  );
};